package com.example.demo.param.dto.news;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("修改消息模型")
public class UpdateNewsDto {
    @ApiModelProperty(value = "token", required = true)
    private String token;
    @ApiModelProperty(value = "id", required = true)
    private String id;
    @ApiModelProperty(value = "newsTitle", required = false)
    private String newsTitle;
    @ApiModelProperty(value = "newsContent", required = false)
    private String newsContent;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNewsTitle() {
        return newsTitle;
    }

    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle;
    }

    public String getNewsContent() {
        return newsContent;
    }

    public void setNewsContent(String newsContent) {
        this.newsContent = newsContent;
    }
}
